import pygame


class BuffStuff:
    def __init__(self, x, y, obj_type):  # type 0: bullet; type 1: heal; type 2: speed booster; type 3: decrease speed
        self.coord_x = x
        self.coord_y = y
        self.type = obj_type
        self.speed = 0
        if self.type == 0:
            self.img = pygame.image.load(r"image/Bullets_supply.png")
        elif self.type == 1:
            self.img = pygame.image.load(r"image/Food_healing.png")
        elif self.type == 2:
            self.img = pygame.image.load(r"image/speed_booster.png")
        elif self.type == 3:
            self.img = pygame.image.load(r"image/decrease_speed.png")
        # crowbar
        elif self.type == 4:
            self.img = pygame.image.load(r"image/crowbar.png")
